package com.ssy.lingxi.platform.manage.api.hystrix.inner;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.manage.api.feign.inner.SecretKeyControllerFeign;
import com.ssy.lingxi.platform.manage.api.model.dto.secret.CheckPasswordDTO;
import org.springframework.stereotype.Component;

import javax.validation.Valid;
@Component
public class SecretKeyControllerFallback implements SecretKeyControllerFeign {

    @Override
    public Wrapper<Boolean> checkPassword(@Valid CheckPasswordDTO request) {
        return Wrapper.failService("服务调用异常");
    }
}
